import {consola} from "consola";

export default defineNitroPlugin((nitroApp) => {
    nitroApp.hooks.hook("error", async (error) => {
        consola.error('服务异常', error.name)
    });
})